//package com.springbooti18n.validator;
//
//import javax.validation.Constraint;
//import javax.validation.Payload;
//import javax.validation.constraints.Min;
//import java.lang.annotation.*;
//import java.util.Date;
//
//import static java.lang.annotation.ElementType.*;
//import static java.lang.annotation.ElementType.PARAMETER;
//import static java.lang.annotation.ElementType.TYPE_USE;
//import static java.lang.annotation.RetentionPolicy.RUNTIME;
//
///**
// * xufan
// * 2019/1/5
// */
////@Target({ElementType.TYPE,ElementType.FIELD, ElementType.ANNOTATION_TYPE})
//@Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER, TYPE_USE })
//@Retention(RetentionPolicy.RUNTIME)
//@Documented
//@Constraint(validatedBy = {DateCompareValidator.class})
//public @interface DateCompare {
//    String message() default "{date.compare}";
//    Class<?>[] groups() default {};
//    Class<? extends Payload>[] payload() default {};
//
//    //默认为true
//    String getDate() default "x0" ;
//
//}
